home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Apple II / Essentials / Essentials.sea / GSBug / Debug.Tips.1990 next >
MacBinary  |  1993-06-15  |  11.0 KB  |  [TEXT/pdos]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Jun 15 12:14:32 1993, modified Tue Jun 15 12:14:32 1993, creator Apple ProDOS file system, type ASCII, 10465 bytes "Debug.Tips.1990" , at 0x2961 564 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[pdos]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 44 65 62 75 67 2e | 54 69 70 73 2e 31 39 39 |..Debug.|Tips.199|
|00000010| 30 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 70 64 6f | 73 01 00 00 00 00 00 00 |.TEXTpdo|s.......|
|00000050| 00 00 00 00 00 28 e1 00 | 00 02 34 a8 43 a5 e8 a8 |.....(..|..4.C...|
|00000060| 43 a5 e8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |C.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e2 1a 00 00 |........|........|
|00000080| 41 70 70 6c 65 20 49 49 | 67 73 20 44 65 62 75 67 |Apple II|gs Debug|
|00000090| 67 69 6e 67 20 54 69 70 | 73 20 61 6e 64 20 54 65 |ging Tip|s and Te|
|000000a0| 63 68 6e 69 71 75 65 73 | 0d 63 6f 6d 70 69 6c 65 |chniques|.compile|
|000000b0| 64 20 62 79 20 44 61 76 | 69 64 20 41 2e 20 4c 79 |d by Dav|id A. Ly|
|000000c0| 6f 6e 73 2c 20 41 70 70 | 6c 65 20 49 49 20 44 65 |ons, App|le II De|
|000000d0| 76 65 6c 6f 70 65 72 20 | 54 65 63 68 6e 69 63 61 |veloper |Technica|
|000000e0| 6c 20 53 75 70 70 6f 72 | 74 0d 4a 75 6c 79 20 31 |l Suppor|t.July 1|
|000000f0| 38 2c 20 31 39 39 30 0d | 0d 28 4a 75 6c 79 20 32 |8, 1990.|.(July 2|
|00000100| 33 3a 20 63 6f 72 72 65 | 63 74 65 64 20 22 49 6e |3: corre|cted "In|
|00000110| 73 74 61 6c 6c 4e 44 41 | 20 69 73 20 6e 65 77 20 |stallNDA| is new |
|00000120| 66 6f 72 20 35 2e 30 22 | 20 74 6f 20 22 52 65 6d |for 5.0"| to "Rem|
|00000130| 6f 76 65 4e 44 41 20 69 | 73 20 6e 65 77 0d 66 6f |oveNDA i|s new.fo|
|00000140| 72 20 35 2e 30 2c 20 61 | 6e 64 20 62 65 20 63 61 |r 5.0, a|nd be ca|
|00000150| 72 65 66 75 6c 20 61 62 | 6f 75 74 20 72 65 6d 6f |reful ab|out remo|
|00000160| 76 69 6e 67 20 44 41 73 | 2e 20 20 4f 74 68 65 72 |ving DAs|. Other|
|00000170| 77 69 73 65 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |wise thi|s docume|
|00000180| 6e 74 0d 69 73 20 77 68 | 61 74 20 49 20 68 61 6e |nt.is wh|at I han|
|00000190| 64 65 64 20 6f 75 74 20 | 61 73 20 74 68 65 20 41 |ded out |as the A|
|000001a0| 32 2d 43 65 6e 74 72 61 | 6c 20 44 65 76 65 6c 6f |2-Centra|l Develo|
|000001b0| 70 65 72 73 20 43 6f 6e | 66 65 72 65 6e 63 65 2e |pers Con|ference.|
|000001c0| 29 0d 0d 47 65 6e 65 72 | 61 6c 20 54 65 63 68 6e |)..Gener|al Techn|
|000001d0| 69 71 75 65 73 0d 0d 49 | 6e 20 61 20 44 65 73 6b |iques..I|n a Desk|
|000001e0| 74 6f 70 2d 62 61 73 65 | 64 20 70 72 6f 67 72 61 |top-base|d progra|
|000001f0| 6d 20 74 68 61 74 20 6e | 6f 72 6d 61 6c 6c 79 20 |m that n|ormally |
|00000200| 64 69 73 70 6c 61 79 73 | 20 74 68 65 20 73 75 70 |displays| the sup|
|00000210| 65 72 2d 68 69 72 65 73 | 0d 67 72 61 70 68 69 63 |er-hires|.graphic|
|00000220| 73 20 73 63 72 65 65 6e | 2c 20 77 72 69 74 65 20 |s screen|, write |
|00000230| 64 65 62 75 67 67 69 6e | 67 20 6d 65 73 73 61 67 |debuggin|g messag|
|00000240| 65 73 20 74 6f 20 74 68 | 65 20 74 65 78 74 20 73 |es to th|e text s|
|00000250| 63 72 65 65 6e 20 61 74 | 0d 73 65 6c 65 63 74 65 |creen at|.selecte|
|00000260| 64 20 70 6f 69 6e 74 73 | 20 69 6e 20 79 6f 75 72 |d points| in your|
|00000270| 20 70 72 6f 67 72 61 6d | 20 28 75 73 69 6e 67 20 | program| (using |
|00000280| 74 68 65 20 54 65 78 74 | 20 54 6f 6f 6c 73 2c 20 |the Text| Tools, |
|00000290| 66 6f 72 20 65 78 61 6d | 70 6c 65 29 2e 0d 54 68 |for exam|ple)..Th|
|000002a0| 65 6e 20 69 6e 20 74 68 | 65 20 65 76 65 6e 74 20 |en in th|e event |
|000002b0| 6c 6f 6f 70 2c 20 74 65 | 73 74 20 74 68 65 20 6d |loop, te|st the m|
|000002c0| 6f 75 73 65 20 70 6f 73 | 69 74 69 6f 6e 20 28 69 |ouse pos|ition (i|
|000002d0| 74 20 61 70 70 65 61 72 | 73 20 69 6e 20 74 68 65 |t appear|s in the|
|000002e0| 20 0d 22 77 68 65 72 65 | 22 20 66 69 65 6c 64 20 | ."where|" field |
|000002f0| 6f 66 20 74 68 65 20 65 | 76 65 6e 74 20 72 65 63 |of the e|vent rec|
|00000300| 6f 72 64 20 61 66 74 65 | 72 20 61 20 47 65 74 4e |ord afte|r a GetN|
|00000310| 65 78 74 45 76 65 6e 74 | 20 6f 72 20 54 61 73 6b |extEvent| or Task|
|00000320| 4d 61 73 74 65 72 20 0d | 63 61 6c 6c 29 2e 20 20 |Master .|call). |
|00000330| 49 66 20 74 68 65 20 6d | 6f 75 73 65 20 69 73 20 |If the m|ouse is |
|00000340| 69 6e 20 74 68 65 20 75 | 70 70 65 72 20 6c 65 66 |in the u|pper lef|
|00000350| 74 20 63 6f 72 6e 65 72 | 20 6f 66 20 74 68 65 20 |t corner| of the |
|00000360| 73 63 72 65 65 6e 20 73 | 77 69 74 63 68 0d 74 6f |screen s|witch.to|
|00000370| 20 74 68 65 20 74 65 78 | 74 20 73 63 72 65 65 6e | the tex|t screen|
|00000380| 20 75 73 69 6e 67 20 74 | 68 65 20 51 75 69 63 6b | using t|he Quick|
|00000390| 44 72 61 77 20 49 49 20 | 63 61 6c 6c 20 47 72 61 |Draw II |call Gra|
|000003a0| 66 4f 66 66 2e 20 20 49 | 66 20 74 68 65 20 6d 6f |fOff. I|f the mo|
|000003b0| 75 73 65 0d 69 73 20 61 | 6e 79 77 68 65 72 65 20 |use.is a|nywhere |
|000003c0| 65 6c 73 65 2c 20 73 77 | 69 74 63 68 20 62 61 63 |else, sw|itch bac|
|000003d0| 6b 20 74 6f 20 74 68 65 | 20 67 72 61 70 68 69 63 |k to the| graphic|
|000003e0| 73 20 64 69 73 70 6c 61 | 79 20 77 69 74 68 20 47 |s displa|y with G|
|000003f0| 72 61 66 4f 6e 2e 20 0d | 28 52 65 70 6f 72 74 65 |rafOn. .|(Reporte|
|00000400| 64 20 62 79 20 52 6f 6e | 20 4c 69 63 68 74 79 3b |d by Ron| Lichty;|
|00000410| 20 74 65 63 68 6e 69 71 | 75 65 20 62 79 20 41 6c | techniq|ue by Al|
|00000420| 6c 61 6e 20 42 65 6c 6c | 2c 20 41 75 73 74 72 61 |lan Bell|, Austra|
|00000430| 6c 69 61 29 0d 0d 43 68 | 65 63 6b 20 66 6f 72 20 |lia)..Ch|eck for |
|00000440| 65 72 72 6f 72 73 20 6f | 6e 20 61 6c 6c 20 74 6f |errors o|n all to|
|00000450| 6f 6c 62 6f 78 20 63 61 | 6c 6c 73 20 74 68 61 74 |olbox ca|lls that|
|00000460| 20 61 6c 6c 6f 63 61 74 | 65 20 6d 65 6d 6f 72 79 | allocat|e memory|
|00000470| 2e 20 20 48 61 76 65 20 | 61 0d 73 63 68 65 6d 65 |. Have |a.scheme|
|00000480| 20 66 6f 72 20 64 65 61 | 6c 69 6e 67 20 77 69 74 | for dea|ling wit|
|00000490| 68 20 6c 6f 77 2d 6d 65 | 6d 6f 72 79 20 73 69 74 |h low-me|mory sit|
|000004a0| 75 61 74 69 6f 6e 73 2e | 20 20 53 65 65 20 41 70 |uations.| See Ap|
|000004b0| 70 6c 65 20 49 49 67 73 | 0d 54 65 63 68 6e 69 63 |ple IIgs|.Technic|
|000004c0| 61 6c 20 4e 6f 74 65 73 | 20 23 35 31 2c 20 35 32 |al Notes| #51, 52|
|000004d0| 2c 20 35 36 2c 20 61 6e | 64 20 6f 74 68 65 72 73 |, 56, an|d others|
|000004e0| 2c 20 61 6e 64 20 72 65 | 61 64 20 61 62 6f 75 74 |, and re|ad about|
|000004f0| 20 74 68 65 20 53 79 73 | 74 65 6d 20 0d 53 6f 66 | the Sys|tem .Sof|
|00000500| 74 77 61 72 65 20 35 2e | 30 20 4f 75 74 20 4f 66 |tware 5.|0 Out Of|
|00000510| 20 4d 65 6d 6f 72 79 20 | 51 75 65 75 65 20 68 61 | Memory |Queue ha|
|00000520| 6e 64 6c 69 6e 67 20 69 | 6e 74 72 6f 64 75 63 65 |ndling i|ntroduce|
|00000530| 64 20 28 41 70 70 6c 65 | 20 49 49 67 73 0d 54 6f |d (Apple| IIgs.To|
|00000540| 6f 6c 62 6f 78 20 52 65 | 66 65 72 65 6e 63 65 20 |olbox Re|ference |
|00000550| 56 6f 6c 75 6d 65 20 33 | 29 2e 0d 0d 4d 61 6b 65 |Volume 3|)...Make|
|00000560| 20 73 75 72 65 20 74 68 | 65 20 42 61 6e 6b 20 72 | sure th|e Bank r|
|00000570| 65 67 69 73 74 65 72 20 | 69 73 20 73 65 74 20 72 |egister |is set r|
|00000580| 69 67 68 74 2e 20 20 49 | 66 20 79 6f 75 27 72 65 |ight. I|f you're|
|00000590| 20 77 72 69 74 69 6e 67 | 20 63 6f 64 65 0d 74 68 | writing| code.th|
|000005a0| 61 74 20 61 6c 6c 20 66 | 69 74 73 20 69 6e 74 6f |at all f|its into|
|000005b0| 20 61 20 73 69 6e 67 6c | 65 20 36 34 4b 20 62 61 | a singl|e 64K ba|
|000005c0| 6e 6b 2c 20 79 6f 75 20 | 6d 61 79 20 77 61 6e 74 |nk, you |may want|
|000005d0| 20 74 6f 20 61 6c 77 61 | 79 73 20 6b 65 65 70 0d | to alwa|ys keep.|
|000005e0| 79 6f 75 72 20 64 61 74 | 61 20 69 6e 73 69 64 65 |your dat|a inside|
|000005f0| 20 79 6f 75 72 20 63 6f | 64 65 20 73 65 67 6d 65 | your co|de segme|
|00000600| 6e 74 20 61 6e 64 20 75 | 73 65 20 50 48 4b 20 50 |nt and u|se PHK P|
|00000610| 4c 42 2e 20 20 49 66 20 | 79 6f 75 72 20 64 61 74 |LB. If |your dat|
|00000620| 61 0d 69 73 20 69 6e 20 | 61 20 73 65 70 61 72 61 |a.is in |a separa|
|00000630| 74 65 20 73 65 67 6d 65 | 6e 74 2c 20 74 68 69 73 |te segme|nt, this|
|00000640| 20 69 73 20 62 61 64 20 | 28 79 6f 75 20 6d 61 79 | is bad |(you may|
|00000650| 20 6e 6f 74 20 64 69 73 | 63 6f 76 65 72 20 69 74 | not dis|cover it|
|00000660| 20 72 69 67 68 74 0d 61 | 77 61 79 2c 20 62 65 63 | right.a|way, bec|
|00000670| 61 75 73 65 20 74 77 6f | 20 73 65 67 6d 65 6e 74 |ause two| segment|
|00000680| 73 20 63 61 6e 20 77 69 | 6e 64 20 75 70 20 69 6e |s can wi|nd up in|
|00000690| 20 74 68 65 20 73 61 6d | 65 20 62 61 6e 6b 20 6d | the sam|e bank m|
|000006a0| 6f 73 74 20 6f 66 20 74 | 68 65 20 0d 74 69 6d 65 |ost of t|he .time|
|000006b0| 2c 20 65 73 70 65 63 69 | 61 6c 6c 79 20 69 66 20 |, especi|ally if |
|000006c0| 74 68 65 79 20 68 61 70 | 70 65 6e 20 74 6f 20 62 |they hap|pen to b|
|000006d0| 65 20 73 6d 61 6c 6c 29 | 2e 0d 0d 55 73 65 20 73 |e small)|...Use s|
|000006e0| 61 66 65 74 79 20 63 68 | 65 63 6b 73 20 70 6f 73 |afety ch|ecks pos|
|000006f0| 73 69 62 6c 65 20 69 6e | 20 79 6f 75 72 20 64 65 |sible in| your de|
|00000700| 76 65 6c 6f 70 6d 65 6e | 74 20 65 6e 76 69 72 6f |velopmen|t enviro|
|00000710| 6e 6d 65 6e 74 2e 20 20 | 46 6f 72 0d 65 78 61 6d |nment. |For.exam|
|00000720| 70 6c 65 2c 20 69 66 20 | 79 6f 75 20 75 73 65 20 |ple, if |you use |
|00000730| 6d 61 63 72 6f 73 20 74 | 6f 20 61 6c 6c 6f 63 61 |macros t|o alloca|
|00000740| 74 65 20 64 69 72 65 63 | 74 2d 70 61 67 65 20 6c |te direc|t-page l|
|00000750| 6f 63 61 74 69 6f 6e 73 | 2c 20 75 73 65 0d 61 73 |ocations|, use.as|
|00000760| 73 65 6d 62 6c 65 2d 74 | 69 6d 65 20 65 72 72 6f |semble-t|ime erro|
|00000770| 72 20 6d 65 73 73 61 67 | 65 73 20 74 6f 20 63 68 |r messag|es to ch|
|00000780| 65 63 6b 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6f |eck the |amount o|
|00000790| 66 20 64 69 72 65 63 74 | 2d 70 61 67 65 20 73 70 |f direct|-page sp|
|000007a0| 61 63 65 0d 79 6f 75 27 | 72 65 20 75 73 69 6e 67 |ace.you'|re using|
|000007b0| 2e 20 20 49 66 20 69 74 | 20 65 78 63 65 65 64 73 |. If it| exceeds|
|000007c0| 20 32 35 36 20 62 79 74 | 65 73 2c 20 63 6f 6d 70 | 256 byt|es, comp|
|000007d0| 6c 61 69 6e 20 64 75 72 | 69 6e 67 20 61 73 73 65 |lain dur|ing asse|
|000007e0| 6d 62 6c 79 3b 20 0d 74 | 68 69 73 20 77 69 6c 6c |mbly; .t|his will|
|000007f0| 20 62 65 20 61 20 6c 6f | 74 20 6d 6f 72 65 20 66 | be a lo|t more f|
|00000800| 75 6e 20 74 68 61 6e 20 | 74 72 79 69 6e 67 20 74 |un than |trying t|
|00000810| 6f 20 66 69 67 75 72 65 | 20 6f 75 74 20 77 68 79 |o figure| out why|
|00000820| 20 79 6f 75 72 20 63 6f | 64 65 0d 6d 79 73 74 65 | your co|de.myste|
|00000830| 72 69 6f 75 73 6c 79 20 | 63 72 61 73 68 65 73 2e |riously |crashes.|
|00000840| 0d 0d 57 61 74 63 68 20 | 6f 75 74 20 66 6f 72 20 |..Watch |out for |
|00000850| 75 6e 69 6e 69 74 69 61 | 6c 69 7a 65 64 20 73 74 |uninitia|lized st|
|00000860| 6f 72 61 67 65 20 6c 6f | 63 61 74 69 6f 6e 73 21 |orage lo|cations!|
|00000870| 20 20 52 61 6e 64 6f 6d | 20 76 61 6c 75 65 73 20 | Random| values |
|00000880| 6d 61 79 0d 61 6c 6c 6f | 77 20 79 6f 75 72 20 63 |may.allo|w your c|
|00000890| 6f 64 65 20 74 6f 20 77 | 6f 72 6b 20 61 20 6c 6f |ode to w|ork a lo|
|000008a0| 74 20 6f 66 20 74 68 65 | 20 74 69 6d 65 2c 20 73 |t of the| time, s|
|000008b0| 6f 20 73 75 73 70 65 63 | 74 20 74 68 69 73 20 70 |o suspec|t this p|
|000008c0| 72 6f 62 6c 65 6d 20 0d | 65 73 70 65 63 69 61 6c |roblem .|especial|
|000008d0| 6c 79 20 69 66 20 79 6f | 75 72 20 63 6f 64 65 20 |ly if yo|ur code |
|000008e0| 77 6f 72 6b 73 20 72 69 | 67 68 74 20 73 6f 6d 65 |works ri|ght some|
|000008f0| 74 69 6d 65 73 20 61 6e | 64 20 66 61 69 6c 73 20 |times an|d fails |
|00000900| 6f 74 68 65 72 20 74 69 | 6d 65 73 2e 0d 28 44 65 |other ti|mes..(De|
|00000910| 76 65 6c 6f 70 65 72 20 | 54 65 63 68 6e 69 63 61 |veloper |Technica|
|00000920| 6c 20 53 75 70 70 6f 72 | 74 20 70 72 6f 76 69 64 |l Suppor|t provid|
|00000930| 65 73 20 22 50 6f 69 6e | 74 65 72 20 43 68 65 63 |es "Poin|ter Chec|
|00000940| 6b 22 20 72 6f 75 74 69 | 6e 65 73 20 66 6f 72 0d |k" routi|nes for.|
|00000950| 75 73 65 20 77 69 74 68 | 20 41 50 57 20 43 2e 20 |use with| APW C. |
|00000960| 20 53 65 65 20 53 61 6d | 70 6c 65 20 43 6f 64 65 | See Sam|ple Code|
|00000970| 20 76 6f 6c 75 6d 65 20 | 32 2e 29 0d 0d 0d 0d 54 | volume |2.)....T|
|00000980| 69 70 73 20 66 6f 72 20 | 75 73 69 6e 67 20 47 53 |ips for |using GS|
|00000990| 42 75 67 0d 28 54 68 61 | 6e 6b 73 20 74 6f 20 54 |Bug.(Tha|nks to T|
|000009a0| 69 6d 20 53 77 69 68 61 | 72 74 20 66 6f 72 20 73 |im Swiha|rt for s|
|000009b0| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 47 53 42 |ome of t|hese GSB|
|000009c0| 75 67 20 74 69 70 73 2e | 29 0d 0d 42 72 65 61 6b |ug tips.|)..Break|
|000009d0| 20 69 6e 74 6f 20 79 6f | 75 72 20 61 70 70 6c 69 | into yo|ur appli|
|000009e0| 63 61 74 69 6f 6e 20 61 | 74 20 61 20 73 74 72 61 |cation a|t a stra|
|000009f0| 74 65 67 69 63 20 74 6f | 6f 6c 62 6f 78 20 63 61 |tegic to|olbox ca|
|00000a00| 6c 6c 2c 20 73 75 63 68 | 20 61 73 20 0d 54 61 73 |ll, such| as .Tas|
|00000a10| 6b 4d 61 73 74 65 72 2c | 20 62 79 20 75 73 69 6e |kMaster,| by usin|
|00000a20| 67 20 74 68 65 20 47 53 | 42 75 67 20 63 6f 6d 6d |g the GS|Bug comm|
|00000a30| 61 6e 64 73 20 53 65 74 | 54 42 72 6b 20 61 6e 64 |ands Set|TBrk and|
|00000a40| 20 54 42 72 6b 49 6e 2e | 20 20 57 68 65 6e 0d 79 | TBrkIn.| When.y|
|00000a50| 6f 75 20 68 69 74 20 72 | 20 74 6f 20 72 65 73 75 |ou hit r| to resu|
|00000a60| 6d 65 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |me your |applicat|
|00000a70| 69 6f 6e 2c 20 79 6f 75 | 20 77 69 6c 6c 20 61 75 |ion, you| will au|
|00000a80| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 64 72 6f 70 |tomatica|lly drop|
|00000a90| 0d 69 6e 74 6f 20 47 53 | 42 75 67 20 77 68 65 6e |.into GS|Bug when|
|00000aa0| 20 79 6f 75 20 68 69 74 | 20 74 68 65 20 73 65 6c | you hit| the sel|
|00000ab0| 65 63 74 65 64 20 63 61 | 6c 6c 2e 20 20 41 74 20 |ected ca|ll. At |
|00000ac0| 74 68 61 74 20 70 6f 69 | 6e 74 20 79 6f 75 20 63 |that poi|nt you c|
|00000ad0| 61 6e 20 0d 64 69 73 61 | 73 73 65 6d 62 6c 65 20 |an .disa|ssemble |
|00000ae0| 70 69 65 63 65 73 20 6f | 66 20 79 6f 75 72 20 63 |pieces o|f your c|
|00000af0| 6f 64 65 2c 20 73 74 61 | 72 74 20 73 69 6e 67 6c |ode, sta|rt singl|
|00000b00| 65 2d 73 74 65 70 70 69 | 6e 67 20 69 74 20 77 69 |e-steppi|ng it wi|
|00000b10| 74 68 20 73 2c 0d 6f 72 | 20 77 68 61 74 65 76 65 |th s,.or| whateve|
|00000b20| 72 2e 20 20 20 59 6f 75 | 20 63 61 6e 20 75 73 75 |r. You| can usu|
|00000b30| 61 6c 6c 79 20 65 76 65 | 6e 20 68 69 74 20 41 70 |ally eve|n hit Ap|
|00000b40| 70 6c 65 2d 43 74 72 6c | 2d 45 53 43 20 74 6f 20 |ple-Ctrl|-ESC to |
|00000b50| 65 6e 74 65 72 20 79 6f | 75 72 0d 66 61 76 6f 72 |enter yo|ur.favor|
|00000b60| 69 74 65 20 43 44 41 20 | 28 73 65 65 20 62 65 6c |ite CDA |(see bel|
|00000b70| 6f 77 29 2e 0d 0d 48 65 | 72 65 27 73 20 61 20 77 |ow)...He|re's a w|
|00000b80| 61 79 20 74 6f 20 74 72 | 61 63 65 20 79 6f 75 72 |ay to tr|ace your|
|00000b90| 20 70 72 6f 67 72 61 6d | 27 73 20 63 6f 64 65 20 | program|'s code |
|00000ba0| 66 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 61 20 70 |for hand|ling a p|
|00000bb0| 61 72 74 69 63 75 6c 61 | 72 0d 6d 65 6e 75 20 69 |articula|r.menu i|
|00000bc0| 74 65 6d 2e 20 20 53 65 | 74 20 61 20 74 6f 6f 6c |tem. Se|t a tool|
|00000bd0| 20 62 72 65 61 6b 20 6f | 6e 20 54 61 73 6b 4d 61 | break o|n TaskMa|
|00000be0| 73 74 65 72 2e 20 20 52 | 65 73 75 6d 65 20 79 6f |ster. R|esume yo|
|00000bf0| 75 72 20 63 6f 64 65 20 | 61 6e 64 20 6c 65 74 0d |ur code |and let.|
|00000c00| 69 74 20 62 72 65 61 6b | 20 6f 6e 20 74 68 65 20 |it break| on the |
|00000c10| 54 61 73 6b 4d 61 73 74 | 65 72 20 63 61 6c 6c 2e |TaskMast|er call.|
|00000c20| 20 20 54 79 70 65 20 73 | 20 74 6f 20 64 69 73 70 | Type s| to disp|
|00000c30| 6c 61 79 20 74 68 65 20 | 73 75 70 65 72 2d 68 69 |lay the |super-hi|
|00000c40| 72 65 73 20 0d 73 63 72 | 65 65 6e 2c 20 61 6e 64 |res .scr|een, and|
|00000c50| 20 63 6c 69 63 6b 20 61 | 6e 64 20 68 6f 6c 64 20 | click a|nd hold |
|00000c60| 74 68 65 20 6d 6f 75 73 | 65 20 62 75 74 74 6f 6e |the mous|e button|
|00000c70| 20 6f 6e 20 74 68 65 20 | 6d 65 6e 75 20 62 61 72 | on the |menu bar|
|00000c80| 2e 20 20 50 72 65 73 73 | 20 0d 73 70 61 63 65 20 |. Press| .space |
|00000c90| 74 6f 20 65 78 65 63 75 | 74 65 20 74 68 65 20 54 |to execu|te the T|
|00000ca0| 61 73 6b 4d 61 73 74 65 | 72 20 63 61 6c 6c 2e 20 |askMaste|r call. |
|00000cb0| 20 53 65 6c 65 63 74 20 | 61 20 6d 65 6e 75 20 69 | Select |a menu i|
|00000cc0| 74 65 6d 20 61 6e 64 20 | 72 65 6c 65 61 73 65 0d |tem and |release.|
|00000cd0| 74 68 65 20 6d 6f 75 73 | 65 2e 20 20 41 74 20 74 |the mous|e. At t|
|00000ce0| 68 69 73 20 70 6f 69 6e | 74 2c 20 79 6f 75 20 61 |his poin|t, you a|
|00000cf0| 72 65 20 73 74 69 6c 6c | 20 69 6e 20 47 53 42 75 |re still| in GSBu|
|00000d00| 67 2c 20 61 6e 64 20 54 | 61 73 6b 4d 61 73 74 65 |g, and T|askMaste|
|00000d10| 72 20 68 61 73 0d 6a 75 | 73 74 20 72 65 74 75 72 |r has.ju|st retur|
|00000d20| 6e 65 64 2e 20 20 50 72 | 65 73 73 20 54 20 74 6f |ned. Pr|ess T to|
|00000d30| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 74 65 78 | display| the tex|
|00000d40| 74 20 73 63 72 65 65 6e | 2c 20 61 6e 64 20 70 72 |t screen|, and pr|
|00000d50| 65 73 73 20 73 70 61 63 | 65 20 0d 74 6f 20 73 74 |ess spac|e .to st|
|00000d60| 65 70 20 74 68 72 6f 75 | 67 68 20 79 6f 75 72 20 |ep throu|gh your |
|00000d70| 63 6f 64 65 2e 0d 0d 44 | 65 62 75 67 67 69 6e 67 |code...D|ebugging|
|00000d80| 20 61 20 43 6c 61 73 73 | 69 63 20 44 65 73 6b 20 | a Class|ic Desk |
|00000d90| 41 63 63 65 73 73 6f 72 | 79 20 69 73 20 68 61 72 |Accessor|y is har|
|00000da0| 64 2c 20 62 65 63 61 75 | 73 65 20 74 68 65 20 73 |d, becau|se the s|
|00000db0| 74 61 63 6b 20 69 73 0d | 6e 6f 72 6d 61 6c 6c 79 |tack is.|normally|
|00000dc0| 20 69 6e 20 24 30 30 2f | 30 31 78 78 20 77 68 65 | in $00/|01xx whe|
|00000dd0| 6e 20 61 20 43 44 41 20 | 65 78 65 63 75 74 65 73 |n a CDA |executes|
|00000de0| 2e 20 20 47 53 42 75 67 | 20 69 73 20 6e 6f 74 20 |. GSBug| is not |
|00000df0| 61 62 6c 65 20 74 6f 20 | 0d 74 72 61 63 65 20 63 |able to |.trace c|
|00000e00| 6f 64 65 20 72 65 6c 69 | 61 62 6c 79 20 77 68 69 |ode reli|ably whi|
|00000e10| 6c 65 20 74 68 65 20 73 | 74 61 63 6b 20 70 6f 69 |le the s|tack poi|
|00000e20| 6e 74 65 72 20 69 73 20 | 69 6e 20 74 68 69 73 20 |nter is |in this |
|00000e30| 72 61 6e 67 65 2e 20 20 | 0d 48 65 72 65 27 73 20 |range. |.Here's |
|00000e40| 73 6f 6d 65 74 68 69 6e | 67 20 79 6f 75 20 63 61 |somethin|g you ca|
|00000e50| 6e 20 64 6f 20 69 6e 73 | 74 65 61 64 2c 20 69 66 |n do ins|tead, if|
|00000e60| 20 79 6f 75 20 72 65 61 | 6c 6c 79 20 6e 65 65 64 | you rea|lly need|
|00000e70| 20 74 6f 20 74 72 61 63 | 65 20 0d 74 68 61 74 20 | to trac|e .that |
|00000e80| 43 44 41 20 63 6f 64 65 | 3a 20 20 62 72 65 61 6b |CDA code|: break|
|00000e90| 20 69 6e 74 6f 20 74 68 | 65 20 61 70 70 6c 69 63 | into th|e applic|
|00000ea0| 61 74 69 6f 6e 20 61 74 | 20 61 20 63 6f 6e 76 65 |ation at| a conve|
|00000eb0| 6e 69 65 6e 74 20 70 6f | 69 6e 74 20 0d 28 6c 69 |nient po|int .(li|
|00000ec0| 6b 65 20 61 74 20 61 20 | 54 61 73 6b 4d 61 73 74 |ke at a |TaskMast|
|00000ed0| 65 72 20 63 61 6c 6c 29 | 2c 20 73 65 74 20 44 3d |er call)|, set D=|
|00000ee0| 30 20 61 6e 64 20 73 74 | 61 72 74 20 53 74 65 70 |0 and st|art Step|
|00000ef0| 70 69 6e 67 20 66 72 6f | 6d 20 74 68 65 0d 43 44 |ping fro|m the.CD|
|00000f00| 41 27 73 20 65 6e 74 72 | 79 20 70 6f 69 6e 74 20 |A's entr|y point |
|00000f10| 28 6f 6e 65 20 77 61 79 | 20 74 6f 20 64 65 74 65 |(one way| to dete|
|00000f20| 72 6d 69 6e 65 20 74 68 | 65 20 65 6e 74 72 79 20 |rmine th|e entry |
|00000f30| 70 6f 69 6e 74 20 69 73 | 20 77 69 74 68 0d 4e 69 |point is| with.Ni|
|00000f40| 66 74 79 20 4c 69 73 74 | 2d 2d 74 72 79 20 63 30 |fty List|--try c0|
|00000f50| 31 38 2e 35 30 30 30 69 | 20 74 6f 20 66 69 6e 64 |18.5000i| to find|
|00000f60| 20 74 68 65 20 72 69 67 | 68 74 20 62 6c 6f 63 6b | the rig|ht block|
|00000f70| 20 69 6e 20 6d 65 6d 6f | 72 79 2c 20 61 6e 64 20 | in memo|ry, and |
|00000f80| 0d 75 73 65 20 3b 63 20 | 74 6f 20 64 69 73 70 6c |.use ;c |to displ|
|00000f90| 61 79 20 74 68 65 20 6e | 61 6d 65 20 61 6e 64 20 |ay the n|ame and |
|00000fa0| 65 6e 74 72 79 20 70 6f | 69 6e 74 73 29 2e 0d 0d |entry po|ints)...|
|00000fb0| 44 65 62 75 67 67 69 6e | 67 20 61 20 4e 65 77 20 |Debuggin|g a New |
|00000fc0| 44 65 73 6b 20 41 63 63 | 65 73 73 6f 72 79 20 77 |Desk Acc|essory w|
|00000fd0| 69 74 68 20 47 53 42 75 | 67 20 77 61 73 20 68 61 |ith GSBu|g was ha|
|00000fe0| 72 64 20 69 6e 20 74 68 | 65 20 70 61 73 74 2c 0d |rd in th|e past,.|
|00000ff0| 62 65 63 61 75 73 65 20 | 74 68 65 20 64 65 62 75 |because |the debu|
|00001000| 67 67 65 72 20 63 6f 75 | 6c 64 20 6e 6f 74 20 72 |gger cou|ld not r|
|00001010| 65 63 65 69 76 65 20 61 | 6e 79 20 6b 65 79 73 74 |eceive a|ny keyst|
|00001020| 72 6f 6b 65 73 20 77 68 | 69 6c 65 20 61 6e 20 4e |rokes wh|ile an N|
|00001030| 44 41 0d 77 69 6e 64 6f | 77 20 77 61 73 20 69 6e |DA.windo|w was in|
|00001040| 20 66 72 6f 6e 74 2e 20 | 20 57 69 74 68 20 47 53 | front. | With GS|
|00001050| 42 75 67 20 31 2e 35 2c | 20 6a 75 73 74 20 70 75 |Bug 1.5,| just pu|
|00001060| 73 68 20 64 6f 77 6e 20 | 74 68 65 20 43 61 70 73 |sh down |the Caps|
|00001070| 4c 6f 63 6b 20 0d 6b 65 | 79 2c 20 61 6e 64 20 61 |Lock .ke|y, and a|
|00001080| 6c 6c 20 69 73 20 77 65 | 6c 6c 20 28 74 68 65 20 |ll is we|ll (the |
|00001090| 4e 44 41 20 64 6f 65 73 | 20 6e 6f 74 20 72 65 63 |NDA does| not rec|
|000010a0| 65 69 76 65 20 61 6e 79 | 20 6b 65 79 73 74 72 6f |eive any| keystro|
|000010b0| 6b 65 73 20 77 68 69 6c | 65 0d 43 61 70 73 4c 6f |kes whil|e.CapsLo|
|000010c0| 63 6b 20 69 73 20 64 6f | 77 6e 20 61 6e 64 20 47 |ck is do|wn and G|
|000010d0| 53 42 75 67 20 31 2e 35 | 20 69 73 20 69 6e 73 74 |SBug 1.5| is inst|
|000010e0| 61 6c 6c 65 64 2e 29 0d | 0d 54 79 70 65 20 22 6f |alled.).|.Type "o|
|000010f0| 66 66 22 20 69 6e 20 47 | 53 42 75 67 20 74 6f 20 |ff" in G|SBug to |
|00001100| 73 65 65 20 74 68 65 20 | 74 6f 70 20 32 33 20 6c |see the |top 23 l|
|00001110| 69 6e 65 73 20 6f 66 20 | 79 6f 75 72 20 63 6f 64 |ines of |your cod|
|00001120| 65 27 73 20 22 52 65 61 | 6c 22 0d 74 65 78 74 20 |e's "Rea|l".text |
|00001130| 73 63 72 65 65 6e 2e 20 | 20 54 79 70 65 20 22 6f |screen. | Type "o|
|00001140| 6e 22 20 74 6f 20 67 65 | 74 20 74 68 65 20 47 53 |n" to ge|t the GS|
|00001150| 42 75 67 20 73 63 72 65 | 65 6e 20 62 61 63 6b 2e |Bug scre|en back.|
|00001160| 20 0d 20 0d 49 66 20 79 | 6f 75 20 67 65 74 20 72 | . .If y|ou get r|
|00001170| 65 61 6c 6c 79 20 66 61 | 6e 63 79 2c 20 79 6f 75 |eally fa|ncy, you|
|00001180| 20 63 61 6e 20 62 75 69 | 6c 64 20 74 68 65 20 73 | can bui|ld the s|
|00001190| 74 72 69 6e 67 73 20 28 | 75 73 65 64 20 69 6e 20 |trings (|used in |
|000011a0| 74 68 65 0d 53 65 74 4d | 69 6c 65 53 74 6f 6e 65 |the.SetM|ileStone|
|000011b0| 20 61 6e 64 20 44 65 62 | 75 67 53 74 72 20 63 61 | and Deb|ugStr ca|
|000011c0| 6c 6c 73 29 20 6f 6e 20 | 74 68 65 20 66 6c 79 20 |lls) on |the fly |
|000011d0| 61 6e 64 20 69 6d 62 65 | 64 20 74 68 65 20 76 61 |and imbe|d the va|
|000011e0| 6c 75 65 73 20 0d 6f 66 | 20 6b 65 79 20 76 61 72 |lues .of| key var|
|000011f0| 69 61 62 6c 65 73 20 69 | 6e 74 6f 20 74 68 65 6d |iables i|nto them|
|00001200| 20 74 6f 20 66 75 72 74 | 68 65 72 20 73 69 6d 70 | to furt|her simp|
|00001210| 6c 69 66 79 20 6c 6f 63 | 61 74 69 6e 67 20 74 68 |lify loc|ating th|
|00001220| 65 20 62 75 67 2e 0d 0d | 49 66 20 79 6f 75 72 20 |e bug...|If your |
|00001230| 64 65 76 65 6c 6f 70 6d | 65 6e 74 20 6c 61 6e 67 |developm|ent lang|
|00001240| 75 61 67 65 73 20 73 75 | 70 70 6f 72 74 73 20 69 |uages su|pports i|
|00001250| 6d 62 65 64 64 69 6e 67 | 20 6e 61 6d 65 73 20 6f |mbedding| names o|
|00001260| 72 20 6f 74 68 65 72 20 | 0d 69 6e 66 6f 20 61 62 |r other |.info ab|
|00001270| 6f 75 74 20 79 6f 75 72 | 20 73 6f 75 72 63 65 20 |out your| source |
|00001280| 69 6e 74 6f 20 79 6f 75 | 72 20 6f 62 6a 65 63 74 |into you|r object|
|00001290| 2c 20 75 73 65 20 74 68 | 65 6d 2e 20 20 54 68 69 |, use th|em. Thi|
|000012a0| 73 20 68 65 6c 70 73 20 | 79 6f 75 0d 66 69 6e 64 |s helps |you.find|
|000012b0| 20 72 6f 75 74 69 6e 65 | 73 20 61 74 20 64 65 62 | routine|s at deb|
|000012c0| 75 67 2d 74 69 6d 65 2e | 0d 0d 0d 0d 4e 69 66 74 |ug-time.|....Nift|
|000012d0| 79 20 4c 69 73 74 20 54 | 65 63 68 6e 69 71 75 65 |y List T|echnique|
|000012e0| 73 0d 0d 4e 69 66 74 79 | 20 4c 69 73 74 20 69 73 |s..Nifty| List is|
|000012f0| 20 61 20 43 6c 61 73 73 | 69 63 20 44 65 73 6b 20 | a Class|ic Desk |
|00001300| 41 63 63 65 73 73 6f 72 | 79 20 62 79 20 44 61 76 |Accessor|y by Dav|
|00001310| 65 20 4c 79 6f 6e 73 2e | 20 20 49 74 27 73 20 0d |e Lyons.| It's .|
|00001320| 53 68 61 72 65 77 61 72 | 65 2c 20 61 6e 64 20 79 |Sharewar|e, and y|
|00001330| 6f 75 20 63 61 6e 20 64 | 6f 77 6e 6c 6f 61 64 20 |ou can d|ownload |
|00001340| 69 74 20 66 72 6f 6d 20 | 47 45 6e 69 65 20 6f 72 |it from |GEnie or|
|00001350| 20 41 6d 65 72 69 63 61 | 20 4f 6e 6c 69 6e 65 2c | America| Online,|
|00001360| 20 0d 61 6d 6f 6e 67 20 | 6f 74 68 65 72 20 70 6c | .among |other pl|
|00001370| 61 63 65 73 2e 20 20 49 | 66 20 68 65 20 65 76 65 |aces. I|f he eve|
|00001380| 72 20 68 61 70 70 65 6e | 73 20 74 6f 20 62 65 20 |r happen|s to be |
|00001390| 72 69 67 68 74 20 69 6e | 20 74 68 65 20 73 61 6d |right in| the sam|
|000013a0| 65 20 72 6f 6f 6d 0d 77 | 69 74 68 20 79 6f 75 2c |e room.w|ith you,|
|000013b0| 20 62 65 20 73 75 72 65 | 20 74 6f 20 61 73 6b 20 | be sure| to ask |
|000013c0| 68 69 6d 20 66 6f 72 20 | 61 20 63 6f 70 79 2e 0d |him for |a copy..|
|000013d0| 0d 48 65 72 65 20 61 72 | 65 20 61 20 66 65 77 20 |.Here ar|e a few |
|000013e0| 74 68 69 6e 67 73 20 49 | 20 64 6f 20 77 68 65 6e |things I| do when|
|000013f0| 20 49 27 6d 20 64 65 62 | 75 67 67 69 6e 67 20 73 | I'm deb|ugging s|
|00001400| 6f 6d 65 20 63 6f 64 65 | 20 77 69 74 68 20 4e 69 |ome code| with Ni|
|00001410| 66 74 79 0d 4c 69 73 74 | 20 68 61 6e 64 79 2e 0d |fty.List| handy..|
|00001420| 0d 50 6f 70 20 69 6e 74 | 6f 20 4e 69 66 74 79 20 |.Pop int|o Nifty |
|00001430| 4c 69 73 74 20 61 6e 64 | 20 74 79 70 65 20 56 20 |List and| type V |
|00001440| 74 6f 20 73 65 65 20 69 | 66 20 79 6f 75 27 76 65 |to see i|f you've|
|00001450| 20 72 65 61 6c 6c 79 20 | 73 74 61 72 74 65 64 20 | really |started |
|00001460| 75 70 20 0d 61 6c 6c 20 | 74 68 65 20 74 6f 6f 6c |up .all |the tool|
|00001470| 73 20 79 6f 75 20 74 68 | 69 6e 6b 20 79 6f 75 20 |s you th|ink you |
|00001480| 68 61 76 65 2c 20 61 6e | 64 20 6d 61 6b 65 20 73 |have, an|d make s|
|00001490| 75 72 65 20 74 68 65 20 | 57 6f 72 6b 20 41 72 65 |ure the |Work Are|
|000014a0| 61 20 0d 50 6f 69 6e 74 | 65 72 73 20 61 72 65 20 |a .Point|ers are |
|000014b0| 76 61 6c 69 64 20 28 6d | 6f 73 74 20 74 6f 6f 6c |valid (m|ost tool|
|000014c0| 73 20 75 73 65 20 74 68 | 65 69 72 20 57 41 50 73 |s use th|eir WAPs|
|000014d0| 20 66 6f 72 20 74 68 65 | 20 61 64 64 72 65 73 73 | for the| address|
|000014e0| 20 79 6f 75 0d 70 61 73 | 73 20 74 6f 20 74 68 65 | you.pas|s to the|
|000014f0| 20 73 74 61 72 74 75 70 | 20 72 6f 75 74 69 6e 65 | startup| routine|
|00001500| 3b 20 74 68 65 20 43 6f | 6e 74 72 6f 6c 20 4d 61 |; the Co|ntrol Ma|
|00001510| 6e 61 67 65 72 20 69 73 | 20 63 75 72 72 65 6e 74 |nager is| current|
|00001520| 6c 79 20 61 6e 20 0d 65 | 78 63 65 70 74 69 6f 6e |ly an .e|xception|
|00001530| 29 2e 20 20 4d 6f 73 74 | 20 6f 66 20 74 68 65 20 |). Most| of the |
|00001540| 6f 74 68 65 72 20 74 6f | 6f 6c 20 73 65 74 73 20 |other to|ol sets |
|00001550| 68 61 76 65 20 76 61 6c | 69 64 20 68 61 6e 64 6c |have val|id handl|
|00001560| 65 73 20 6f 72 20 30 20 | 66 6f 72 0d 74 68 65 69 |es or 0 |for.thei|
|00001570| 72 20 57 41 50 73 2e 20 | 20 54 68 69 73 20 69 73 |r WAPs. | This is|
|00001580| 20 6e 6f 74 20 67 75 61 | 72 6e 61 74 65 65 64 2c | not gua|rnateed,|
|00001590| 20 62 75 74 20 69 74 27 | 73 20 61 20 75 73 65 66 | but it'|s a usef|
|000015a0| 75 6c 20 73 61 6e 69 74 | 79 20 63 68 65 63 6b 0d |ul sanit|y check.|
|000015b0| 77 68 69 6c 65 20 79 6f | 75 27 72 65 20 77 72 69 |while yo|u're wri|
|000015c0| 74 69 6e 67 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |ting an |applicat|
|000015d0| 69 6f 6e 2e 20 20 28 41 | 20 66 65 77 20 74 6f 6f |ion. (A| few too|
|000015e0| 6c 20 73 65 74 73 20 73 | 68 61 72 65 20 74 68 65 |l sets s|hare the|
|000015f0| 20 73 61 6d 65 0d 77 6f | 72 6b 20 61 72 65 61 73 | same.wo|rk areas|
|00001600| 2e 20 20 44 6f 6e 27 74 | 20 77 6f 72 72 79 3b 20 |. Don't| worry; |
|00001610| 69 74 27 73 20 6e 6f 72 | 6d 61 6c 20 66 6f 72 20 |it's nor|mal for |
|00001620| 74 68 65 20 57 69 6e 64 | 6f 77 20 4d 61 6e 61 67 |the Wind|ow Manag|
|00001630| 65 72 20 61 6e 64 0d 45 | 76 65 6e 74 20 4d 61 6e |er and.E|vent Man|
|00001640| 61 67 65 72 20 74 6f 20 | 73 68 61 72 65 2c 20 61 |ager to |share, a|
|00001650| 6e 64 20 66 6f 72 20 51 | 75 69 63 6b 44 72 61 77 |nd for Q|uickDraw|
|00001660| 20 49 49 20 61 6e 64 20 | 51 75 69 63 6b 44 72 61 | II and |QuickDra|
|00001670| 77 20 49 49 20 0d 41 75 | 78 69 6c 69 61 72 79 20 |w II .Au|xiliary |
|00001680| 74 6f 20 73 68 61 72 65 | 2c 20 66 6f 72 20 65 78 |to share|, for ex|
|00001690| 61 6d 70 6c 65 2e 29 0d | 0d 55 73 65 20 74 68 65 |ample.).|.Use the|
|000016a0| 20 6e 65 77 20 4e 69 66 | 74 79 20 4c 69 73 74 20 | new Nif|ty List |
|000016b0| 33 2e 30 20 5c 61 64 64 | 66 72 65 65 20 61 6e 64 |3.0 \add|free and|
|000016c0| 20 5c 63 68 65 63 6b 20 | 63 6f 6d 6d 61 6e 64 73 | \check |commands|
|000016d0| 20 69 6e 20 42 69 67 0d | 42 72 6f 74 68 65 72 20 | in Big.|Brother |
|000016e0| 6d 6f 64 75 6c 65 20 74 | 6f 20 64 65 74 65 63 74 |module t|o detect|
|000016f0| 20 61 63 63 69 64 65 6e | 74 61 6c 20 6d 65 6d 6f | acciden|tal memo|
|00001700| 72 79 20 73 74 6f 6d 70 | 69 6e 67 2e 0d 0d 55 73 |ry stomp|ing...Us|
|00001710| 65 20 63 30 31 38 2e 31 | 30 30 30 69 20 74 6f 20 |e c018.1|000i to |
|00001720| 6c 6f 63 61 74 65 20 74 | 68 65 20 73 74 61 74 69 |locate t|he stati|
|00001730| 63 20 63 6f 64 65 20 73 | 65 67 6d 65 6e 74 73 20 |c code s|egments |
|00001740| 69 6e 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |in your |applicat|
|00001750| 69 6f 6e 0d 28 22 49 6e | 66 6f 20 6f 6e 20 68 61 |ion.("In|fo on ha|
|00001760| 6e 64 6c 65 73 20 77 69 | 74 68 20 6f 77 6e 65 72 |ndles wi|th owner|
|00001770| 20 24 31 30 78 78 20 61 | 6e 64 20 6d 65 6d 6f 72 | $10xx a|nd memor|
|00001780| 79 20 6d 61 6e 61 67 65 | 72 20 61 74 74 72 69 62 |y manage|r attrib|
|00001790| 75 74 65 73 20 0d 24 43 | 30 31 38 22 29 2e 0d 0d |utes .$C|018")...|
|000017a0| 55 73 65 20 30 2f 30 3b | 77 20 74 6f 20 64 75 6d |Use 0/0;|w to dum|
|000017b0| 70 20 69 6e 66 6f 20 61 | 62 6f 75 74 20 79 6f 75 |p info a|bout you|
|000017c0| 72 20 77 69 6e 64 6f 77 | 2c 20 69 6e 63 6c 75 64 |r window|, includ|
|000017d0| 69 6e 67 20 74 68 65 20 | 70 6f 69 6e 74 65 72 20 |ing the |pointer |
|000017e0| 74 6f 0d 74 68 65 20 43 | 6f 6e 74 65 6e 74 20 44 |to.the C|ontent D|
|000017f0| 72 61 77 20 72 6f 75 74 | 69 6e 65 2e 20 20 4d 61 |raw rout|ine. Ma|
|00001800| 6b 65 20 73 75 72 65 20 | 74 68 65 20 63 6f 6e 74 |ke sure |the cont|
|00001810| 65 6e 74 2d 64 72 61 77 | 20 72 6f 75 74 69 6e 65 |ent-draw| routine|
|00001820| 20 64 6f 65 73 0d 6e 6f | 74 20 61 73 73 75 6d 65 | does.no|t assume|
|00001830| 20 74 68 61 74 20 74 68 | 65 20 42 61 6e 6b 20 6f | that th|e Bank o|
|00001840| 72 20 44 20 72 65 67 69 | 73 74 65 72 73 20 61 72 |r D regi|sters ar|
|00001850| 65 20 73 65 74 20 6f 6e | 20 65 6e 74 72 79 21 20 |e set on| entry! |
|00001860| 20 49 66 20 69 74 20 0d | 63 68 61 6e 67 65 73 20 | If it .|changes |
|00001870| 74 68 65 6d 2c 20 6d 61 | 6b 65 20 73 75 72 65 20 |them, ma|ke sure |
|00001880| 69 74 20 70 75 74 73 20 | 74 68 65 6d 20 62 61 63 |it puts |them bac|
|00001890| 6b 2e 0d 0d 49 66 20 79 | 6f 75 72 20 77 69 6e 64 |k...If y|our wind|
|000018a0| 6f 77 20 64 6f 65 73 6e | 27 74 20 75 70 64 61 74 |ow doesn|'t updat|
|000018b0| 65 20 72 69 67 68 74 2c | 20 63 68 65 63 6b 20 79 |e right,| check y|
|000018c0| 6f 75 72 20 63 6f 6e 74 | 65 6e 74 20 64 72 61 77 |our cont|ent draw|
|000018d0| 20 0d 72 6f 75 74 69 6e | 65 2d 2d 79 6f 75 20 6d | .routin|e--you m|
|000018e0| 75 73 74 20 6e 6f 74 20 | 61 73 73 75 6d 65 20 79 |ust not |assume y|
|000018f0| 6f 75 20 61 72 65 20 74 | 68 65 20 66 72 6f 6e 74 |ou are t|he front|
|00001900| 6d 6f 73 74 20 77 69 6e | 64 6f 77 2c 20 73 6f 20 |most win|dow, so |
|00001910| 75 73 69 6e 67 0d 46 72 | 6f 6e 74 57 69 6e 64 6f |using.Fr|ontWindo|
|00001920| 77 20 74 6f 20 73 65 65 | 20 77 68 61 74 20 77 69 |w to see| what wi|
|00001930| 6e 64 6f 77 20 79 6f 75 | 27 72 65 20 73 75 70 70 |ndow you|'re supp|
|00001940| 6f 73 65 64 20 74 6f 20 | 64 72 61 77 20 69 6e 20 |osed to |draw in |
|00001950| 69 73 20 77 72 6f 6e 67 | 2e 0d 55 73 65 20 47 65 |is wrong|..Use Ge|
|00001960| 74 50 6f 72 74 20 69 6e | 73 74 65 61 64 2c 20 62 |tPort in|stead, b|
|00001970| 65 63 61 75 73 65 20 54 | 61 73 6b 4d 61 73 74 65 |ecause T|askMaste|
|00001980| 72 20 73 65 74 73 20 74 | 68 65 20 51 75 69 63 6b |r sets t|he Quick|
|00001990| 44 72 61 77 20 70 6f 72 | 74 20 74 6f 0d 79 6f 75 |Draw por|t to.you|
|000019a0| 72 20 77 69 6e 64 6f 77 | 20 62 65 66 6f 72 65 20 |r window| before |
|000019b0| 69 74 20 63 61 6c 6c 73 | 20 79 6f 75 72 20 75 70 |it calls| your up|
|000019c0| 64 61 74 65 20 72 6f 75 | 74 69 6e 65 2e 0d 0d 45 |date rou|tine...E|
|000019d0| 78 70 6c 6f 72 65 20 74 | 68 65 20 74 6f 6f 6c 62 |xplore t|he toolb|
|000019e0| 6f 78 20 62 79 20 6d 61 | 6b 69 6e 67 20 74 6f 6f |ox by ma|king too|
|000019f0| 6c 62 6f 78 20 63 61 6c | 6c 73 20 64 69 72 65 63 |lbox cal|ls direc|
|00001a00| 74 6c 79 20 66 72 6f 6d | 20 74 68 65 20 4e 69 66 |tly from| the Nif|
|00001a10| 74 79 20 0d 4c 69 73 74 | 20 63 6f 6d 6d 61 6e 64 |ty .List| command|
|00001a20| 20 6c 69 6e 65 2e 0d 0d | 0d 57 68 65 6e 20 79 6f | line...|.When yo|
|00001a30| 75 20 43 72 61 73 68 0d | 0d 57 68 65 6e 20 79 6f |u Crash.|.When yo|
|00001a40| 75 20 63 72 61 73 68 2c | 20 6c 6f 6f 6b 20 6f 6e |u crash,| look on|
|00001a50| 20 74 68 65 20 73 74 61 | 63 6b 20 66 6f 72 20 72 | the sta|ck for r|
|00001a60| 65 74 75 72 6e 20 61 64 | 64 72 65 73 73 65 73 20 |eturn ad|dresses |
|00001a70| 74 6f 20 73 65 65 20 68 | 6f 77 20 0d 79 6f 75 20 |to see h|ow .you |
|00001a80| 67 6f 74 20 74 68 65 72 | 65 2e 20 20 53 6f 6d 65 |got ther|e. Some|
|00001a90| 74 69 6d 65 73 20 74 68 | 69 6e 67 73 20 77 65 6e |times th|ings wen|
|00001aa0| 74 20 73 6f 20 77 65 69 | 72 64 20 74 68 69 73 20 |t so wei|rd this |
|00001ab0| 69 73 20 69 6d 70 72 61 | 63 74 69 63 61 6c 2c 0d |is impra|ctical,.|
|00001ac0| 62 75 74 20 69 74 20 6f | 66 74 65 6e 20 68 65 6c |but it o|ften hel|
|00001ad0| 70 73 2e 20 20 4e 69 66 | 74 79 20 4c 69 73 74 27 |ps. Nif|ty List'|
|00001ae0| 73 20 3b 73 20 63 6f 6d | 6d 61 6e 64 20 6c 6f 6f |s ;s com|mand loo|
|00001af0| 6b 73 20 66 6f 72 20 52 | 54 53 20 61 6e 64 20 52 |ks for R|TS and R|
|00001b00| 54 4c 0d 61 64 64 72 65 | 73 73 65 73 20 66 6f 72 |TL.addre|sses for|
|00001b10| 20 79 6f 75 20 61 75 74 | 6f 6d 61 74 69 63 61 6c | you aut|omatical|
|00001b20| 6c 79 2e 20 20 28 41 6e | 20 22 52 54 4c 20 61 64 |ly. (An| "RTL ad|
|00001b30| 64 72 65 73 73 22 20 69 | 73 20 61 20 73 65 71 75 |dress" i|s a sequ|
|00001b40| 65 6e 63 65 20 6f 66 0d | 33 20 62 79 74 65 73 20 |ence of.|3 bytes |
|00001b50| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 20 74 68 61 |on the s|tack tha|
|00001b60| 74 20 69 73 20 74 68 65 | 20 61 64 64 72 65 73 73 |t is the| address|
|00001b70| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 62 79 74 | of the |last byt|
|00001b80| 65 20 6f 66 20 61 20 4a | 53 4c 20 0d 69 6e 73 74 |e of a J|SL .inst|
|00001b90| 72 75 63 74 69 6f 6e 20 | 79 6f 75 72 20 70 72 6f |ruction |your pro|
|00001ba0| 67 72 61 6d 20 68 61 73 | 20 65 78 65 63 75 74 65 |gram has| execute|
|00001bb0| 64 2c 20 62 75 74 20 77 | 68 69 63 68 20 68 61 73 |d, but w|hich has|
|00001bc0| 20 6e 6f 74 20 79 65 74 | 0d 72 65 74 75 72 6e 65 | not yet|.returne|
|00001bd0| 64 2e 29 0d 20 0d 43 68 | 65 63 6b 20 74 68 65 20 |d.). .Ch|eck the |
|00001be0| 44 69 72 65 63 74 20 70 | 61 67 65 20 72 65 67 69 |Direct p|age regi|
|00001bf0| 73 74 65 72 20 6f 6e 20 | 61 20 63 72 61 73 68 2d |ster on |a crash-|
|00001c00| 2d 62 79 20 63 6f 6d 70 | 61 72 69 6e 67 20 61 67 |-by comp|aring ag|
|00001c10| 61 69 6e 73 74 20 74 68 | 65 20 0d 57 41 50 73 20 |ainst th|e .WAPs |
|00001c20| 66 6f 72 20 74 6f 6f 6c | 73 2c 20 79 6f 75 20 63 |for tool|s, you c|
|00001c30| 61 6e 20 6f 66 74 65 6e | 20 64 65 74 65 72 6d 69 |an often| determi|
|00001c40| 6e 65 20 77 68 69 63 68 | 20 74 6f 6f 6c 73 65 74 |ne which| toolset|
|00001c50| 20 77 61 73 20 69 6e 20 | 63 6f 6e 74 72 6f 6c 0d | was in |control.|
|00001c60| 6f 66 20 74 68 65 20 6d | 61 63 68 69 6e 65 20 77 |of the m|achine w|
|00001c70| 68 65 6e 20 69 74 20 63 | 72 61 73 68 65 73 20 28 |hen it c|rashes (|
|00001c80| 74 68 61 74 20 64 6f 65 | 73 6e 27 74 20 6d 65 61 |that doe|sn't mea|
|00001c90| 6e 20 69 74 20 69 73 6e | 27 74 20 79 6f 75 72 20 |n it isn|'t your |
|00001ca0| 0d 66 61 75 6c 74 2c 20 | 62 75 74 20 69 74 20 67 |.fault, |but it g|
|00001cb0| 69 76 65 73 20 79 6f 75 | 20 61 20 63 6c 75 65 20 |ives you| a clue |
|00001cc0| 61 62 6f 75 74 20 77 68 | 65 72 65 20 74 6f 20 6c |about wh|ere to l|
|00001cd0| 6f 6f 6b 21 29 2e 20 0d | 0d 0d 0d 4c 6f 67 69 63 |ook!). .|...Logic|
|00001ce0| 20 41 6e 61 6c 79 7a 65 | 72 73 0d 0d 4c 6f 67 69 | Analyze|rs..Logi|
|00001cf0| 63 20 41 6e 61 6c 79 7a | 65 72 73 20 61 72 65 20 |c Analyz|ers are |
|00001d00| 68 61 72 64 77 61 72 65 | 20 74 68 61 74 20 68 6f |hardware| that ho|
|00001d10| 6f 6b 73 20 75 70 20 74 | 6f 20 79 6f 75 72 20 63 |oks up t|o your c|
|00001d20| 6f 6d 70 75 74 65 72 20 | 61 6e 64 0d 77 61 74 63 |omputer |and.watc|
|00001d30| 68 65 73 20 77 68 61 74 | 27 73 20 67 6f 69 6e 67 |hes what|'s going|
|00001d40| 20 6f 6e 2e 20 20 54 68 | 65 79 27 72 65 20 70 72 | on. Th|ey're pr|
|00001d50| 65 74 74 79 20 65 78 70 | 65 6e 73 69 76 65 2c 20 |etty exp|ensive, |
|00001d60| 61 6e 64 20 79 6f 75 20 | 64 6f 6e 27 74 0d 6e 65 |and you |don't.ne|
|00001d70| 65 64 20 6f 6e 65 20 66 | 6f 72 20 6d 6f 73 74 20 |ed one f|or most |
|00001d80| 64 65 62 75 67 67 69 6e | 67 20 70 72 6f 62 6c 65 |debuggin|g proble|
|00001d90| 6d 73 2e 20 20 46 6f 72 | 20 63 65 72 74 61 69 6e |ms. For| certain|
|00001da0| 20 74 79 70 65 73 20 6f | 66 20 70 72 6f 62 6c 65 | types o|f proble|
|00001db0| 6d 73 2c 0d 74 68 6f 75 | 67 68 2c 20 74 68 65 79 |ms,.thou|gh, they|
|00001dc0| 20 63 6f 6d 65 20 69 6e | 20 76 65 72 79 20 68 61 | come in| very ha|
|00001dd0| 6e 64 79 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ndy. Fo|r exampl|
|00001de0| 65 2c 20 69 66 20 79 6f | 75 20 68 61 76 65 20 66 |e, if yo|u have f|
|00001df0| 6f 75 6e 64 20 61 0d 70 | 61 72 74 69 63 75 6c 61 |ound a.p|articula|
|00001e00| 72 20 62 79 74 65 20 6f | 66 20 6d 65 6d 6f 72 79 |r byte o|f memory|
|00001e10| 20 74 68 61 74 20 67 65 | 74 73 20 63 68 61 6e 67 | that ge|ts chang|
|00001e20| 65 64 20 66 6f 72 20 6e | 6f 20 72 65 61 73 6f 6e |ed for n|o reason|
|00001e30| 2c 20 62 75 74 20 79 6f | 75 72 20 0d 62 65 73 74 |, but yo|ur .best|
|00001e40| 20 65 66 66 6f 72 74 73 | 20 74 6f 20 66 69 6e 64 | efforts| to find|
|00001e50| 20 6f 75 74 20 77 68 61 | 74 20 70 69 65 63 65 20 | out wha|t piece |
|00001e60| 6f 66 20 63 6f 64 65 20 | 69 73 20 61 63 74 75 61 |of code |is actua|
|00001e70| 6c 6c 79 20 63 68 61 6e | 67 69 6e 67 20 0d 74 68 |lly chan|ging .th|
|00001e80| 61 74 20 62 79 74 65 20 | 68 61 76 65 20 66 61 69 |at byte |have fai|
|00001e90| 6c 65 64 2c 20 61 20 6c | 6f 67 69 63 20 61 6e 61 |led, a l|ogic ana|
|00001ea0| 6c 79 7a 65 72 20 63 61 | 6e 20 68 65 6c 70 2e 20 |lyzer ca|n help. |
|00001eb0| 20 28 44 65 62 75 67 67 | 69 6e 67 20 63 6f 64 65 | (Debugg|ing code|
|00001ec0| 0d 74 68 61 74 20 67 65 | 74 73 20 63 61 6c 6c 65 |.that ge|ts calle|
|00001ed0| 64 20 64 75 72 69 6e 67 | 20 69 6e 74 65 72 72 75 |d during| interru|
|00001ee0| 70 74 73 20 63 61 6e 20 | 62 65 20 69 6d 70 6f 73 |pts can |be impos|
|00001ef0| 73 69 62 6c 65 20 74 6f | 20 64 65 62 75 67 20 77 |sible to| debug w|
|00001f00| 69 74 68 0d 47 53 42 75 | 67 2e 20 20 49 66 20 79 |ith.GSBu|g. If y|
|00001f10| 6f 75 20 63 61 6e 20 73 | 74 65 70 20 74 68 72 6f |ou can s|tep thro|
|00001f20| 75 67 68 20 74 68 65 20 | 63 6f 64 65 20 6f 75 74 |ugh the |code out|
|00001f30| 73 69 64 65 20 74 68 65 | 20 69 6e 74 65 72 72 75 |side the| interru|
|00001f40| 70 74 20 0d 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2c |pt .envi|ronment,|
|00001f50| 20 67 72 65 61 74 2d 2d | 69 66 20 74 68 61 74 27 | great--|if that'|
|00001f60| 73 20 69 6d 70 6f 73 73 | 69 62 6c 65 2c 20 63 6f |s imposs|ible, co|
|00001f70| 6e 73 69 64 65 72 20 75 | 73 69 6e 67 20 61 20 6c |nsider u|sing a l|
|00001f80| 6f 67 69 63 20 0d 61 6e | 61 6c 79 7a 65 72 2e 29 |ogic .an|alyzer.)|
|00001f90| 0d 0d 54 68 65 20 67 65 | 6e 65 72 61 6c 20 69 64 |..The ge|neral id|
|00001fa0| 65 61 20 69 73 20 74 6f | 20 74 65 6c 6c 20 74 68 |ea is to| tell th|
|00001fb0| 61 74 20 6c 6f 67 69 63 | 20 61 6e 61 6c 79 7a 65 |at logic| analyze|
|00001fc0| 72 20 74 6f 20 22 74 72 | 69 67 67 65 72 22 20 6f |r to "tr|igger" o|
|00001fd0| 6e 20 61 0d 70 61 72 74 | 69 63 75 6c 61 72 20 65 |n a.part|icular e|
|00001fe0| 76 65 6e 74 20 28 61 20 | 72 65 61 64 20 6f 72 20 |vent (a |read or |
|00001ff0| 77 72 69 74 65 20 6f 66 | 20 61 20 70 61 72 74 69 |write of| a parti|
|00002000| 63 75 6c 61 72 20 62 79 | 74 65 20 69 6e 20 6d 65 |cular by|te in me|
|00002010| 6d 6f 72 79 29 0d 61 6e | 64 20 74 68 65 6e 20 74 |mory).an|d then t|
|00002020| 6f 20 72 65 63 6f 72 64 | 20 77 68 61 74 20 68 61 |o record| what ha|
|00002030| 70 70 65 6e 73 20 61 66 | 74 65 72 20 74 68 61 74 |ppens af|ter that|
|00002040| 20 28 73 74 6f 72 69 6e | 67 20 65 76 65 72 79 74 | (storin|g everyt|
|00002050| 68 69 6e 67 20 74 68 61 | 74 20 0d 74 68 65 20 70 |hing tha|t .the p|
|00002060| 72 6f 63 65 73 73 6f 72 | 20 64 6f 65 73 2c 20 6f |rocessor| does, o|
|00002070| 72 20 6a 75 73 74 20 73 | 65 6c 65 63 74 65 64 20 |r just s|elected |
|00002080| 6f 70 65 72 61 74 69 6f | 6e 73 29 2e 20 20 54 68 |operatio|ns). Th|
|00002090| 69 73 20 68 61 70 70 65 | 6e 73 0d 71 75 69 63 6b |is happe|ns.quick|
|000020a0| 6c 79 2c 20 61 6e 64 20 | 74 68 65 6e 20 79 6f 75 |ly, and |then you|
|000020b0| 20 63 61 6e 20 73 63 72 | 6f 6c 6c 20 74 68 72 6f | can scr|oll thro|
|000020c0| 75 67 68 20 74 68 65 20 | 72 65 73 75 6c 74 69 6e |ugh the |resultin|
|000020d0| 67 20 6c 69 73 74 20 74 | 6f 20 73 65 65 0d 65 78 |g list t|o see.ex|
|000020e0| 61 63 74 6c 79 20 77 68 | 61 74 20 68 61 70 70 65 |actly wh|at happe|
|000020f0| 6e 65 64 20 69 6e 20 74 | 68 65 20 6e 65 78 74 20 |ned in t|he next |
|00002100| 74 68 6f 75 73 61 6e 64 | 20 6f 72 20 6d 6f 72 65 |thousand| or more|
|00002110| 20 63 6c 6f 63 6b 20 63 | 79 63 6c 65 73 2e 0d 0d | clock c|ycles...|
|00002120| 54 72 69 63 6b 3a 20 20 | 69 6e 63 6c 75 64 65 20 |Trick: |include |
|00002130| 61 63 63 65 73 73 65 73 | 20 74 6f 20 6b 6e 6f 77 |accesses| to know|
|00002140| 6e 20 52 4f 4d 20 6c 6f | 63 61 74 69 6f 6e 73 20 |n ROM lo|cations |
|00002150| 74 6f 20 68 65 6c 70 20 | 79 6f 75 20 74 72 69 67 |to help |you trig|
|00002160| 67 65 72 0d 74 68 65 20 | 61 6e 61 6c 79 7a 65 72 |ger.the |analyzer|
|00002170| 20 61 74 20 70 61 72 74 | 69 63 6c 61 72 20 73 70 | at part|iclar sp|
|00002180| 6f 74 73 20 69 6e 20 79 | 6f 75 72 20 63 6f 64 65 |ots in y|our code|
|00002190| 20 28 53 54 41 20 24 46 | 46 30 30 30 30 2c 20 24 | (STA $F|F0000, $|
|000021a0| 46 46 30 30 30 32 2c 0d | 24 46 46 30 30 30 34 2c |FF0002,.|$FF0004,|
|000021b0| 20 65 74 63 29 2e 0d 0d | 0d 48 65 72 65 20 69 73 | etc)...|.Here is|
|000021c0| 20 73 6f 6d 65 20 73 70 | 65 63 69 66 69 63 20 69 | some sp|ecific i|
|000021d0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|000021e0| 20 48 50 20 6c 6f 67 69 | 63 20 61 6e 61 6c 79 7a | HP logi|c analyz|
|000021f0| 65 72 73 20 75 73 65 64 | 20 66 6f 72 0d 64 65 62 |ers used| for.deb|
|00002200| 75 67 67 69 6e 67 20 6f | 6e 20 74 68 65 20 41 70 |ugging o|n the Ap|
|00002210| 70 6c 65 20 49 49 20 46 | 61 6d 69 6c 79 2e 20 20 |ple II F|amily. |
|00002220| 54 68 65 20 48 50 20 31 | 36 35 30 30 20 70 72 6f |The HP 1|6500 pro|
|00002230| 76 69 64 65 73 20 6d 6f | 72 65 20 0d 73 6f 70 68 |vides mo|re .soph|
|00002240| 69 73 74 69 63 61 74 65 | 64 20 74 72 61 70 20 73 |isticate|d trap s|
|00002250| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 20 65 6e 64 |pecifica|tion end|
|00002260| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 20 6f | specifi|cation o|
|00002270| 66 20 77 68 69 63 68 0d | 69 6e 73 74 72 75 63 74 |f which.|instruct|
|00002280| 69 6f 6e 73 20 74 6f 20 | 73 74 6f 72 65 20 77 68 |ions to |store wh|
|00002290| 65 6e 20 61 20 74 72 61 | 70 20 69 73 20 69 6e 20 |en a tra|p is in |
|000022a0| 65 66 66 65 63 74 2e 20 | 20 54 68 69 73 20 70 72 |effect. | This pr|
|000022b0| 6f 76 69 64 65 73 20 66 | 6f 72 0d 6d 6f 72 65 20 |ovides f|or.more |
|000022c0| 74 72 61 63 65 20 6d 69 | 6c 65 61 67 65 20 6f 75 |trace mi|leage ou|
|000022d0| 74 20 6f 66 20 74 68 65 | 20 31 30 32 34 20 69 6e |t of the| 1024 in|
|000022e0| 73 74 72 75 63 74 69 6f | 6e 73 20 74 68 61 74 20 |structio|ns that |
|000022f0| 63 61 6e 20 62 65 20 74 | 72 61 63 65 64 20 0d 74 |can be t|raced .t|
|00002300| 68 61 6e 20 69 73 20 70 | 6f 73 73 69 62 6c 65 20 |han is p|ossible |
|00002310| 6f 6e 20 74 68 65 20 48 | 50 20 31 36 33 30 47 2c |on the H|P 1630G,|
|00002320| 20 61 6c 73 6f 20 75 73 | 65 64 20 61 74 20 41 70 | also us|ed at Ap|
|00002330| 70 6c 65 2e 20 41 6c 73 | 6f 2c 20 74 68 65 20 0d |ple. Als|o, the .|
|00002340| 31 36 35 30 30 20 77 6f | 72 6b 73 20 6a 75 73 74 |16500 wo|rks just|
|00002350| 20 6c 69 6b 65 20 74 68 | 65 20 31 36 35 30 41 20 | like th|e 1650A |
|00002360| 66 6f 72 20 61 20 6c 6f | 74 20 6f 66 20 74 68 69 |for a lo|t of thi|
|00002370| 6e 67 73 2e 0d 0d 59 6f | 75 20 63 61 6e 20 63 61 |ngs...Yo|u can ca|
|00002380| 6c 6c 20 74 68 65 20 48 | 50 20 43 75 73 74 6f 6d |ll the H|P Custom|
|00002390| 65 72 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 43 |er Infor|mation C|
|000023a0| 65 6e 74 65 72 20 61 74 | 20 31 2d 38 30 30 2d 37 |enter at| 1-800-7|
|000023b0| 35 32 2d 30 39 30 30 2c | 0d 65 78 74 65 6e 73 69 |52-0900,|.extensi|
|000023c0| 6f 6e 37 37 39 45 2e 20 | 20 54 68 65 69 72 20 63 |on779E. | Their c|
|000023d0| 61 74 61 6c 6f 67 20 73 | 61 79 73 20 74 68 61 74 |atalog s|ays that|
|000023e0| 20 69 66 20 74 68 65 79 | 20 64 6f 6e 27 74 20 68 | if they| don't h|
|000023f0| 61 76 65 20 61 6e 20 61 | 6e 73 77 65 72 0d 74 68 |ave an a|nswer.th|
|00002400| 65 79 27 6c 6c 20 70 75 | 74 20 79 6f 75 20 69 6e |ey'll pu|t you in|
|00002410| 20 74 6f 75 63 68 20 77 | 69 74 68 20 73 6f 6d 65 | touch w|ith some|
|00002420| 6f 6e 65 20 77 68 6f 20 | 64 6f 65 73 2e 0d 0d 41 |one who |does...A|
|00002430| 6c 73 6f 2c 20 74 68 65 | 20 73 6f 66 74 77 61 72 |lso, the| softwar|
|00002440| 65 20 66 6f 72 20 75 73 | 69 6e 67 20 74 68 65 73 |e for us|ing thes|
|00002450| 65 20 61 6e 61 6c 79 7a | 65 72 73 20 77 69 74 68 |e analyz|ers with|
|00002460| 20 74 68 65 20 36 35 38 | 31 36 20 6f 72 20 36 35 | the 658|16 or 65|
|00002470| 43 30 32 0d 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |C02.is a|vailable|
|00002480| 20 64 69 72 65 63 74 20 | 66 72 6f 6d 20 75 73 20 | direct |from us |
|00002490| 61 74 20 41 70 70 6c 65 | 20 61 6c 6f 6e 67 20 77 |at Apple| along w|
|000024a0| 69 74 68 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |ith inst|ructions|
|000024b0| 20 66 6f 72 20 0d 77 69 | 72 69 6e 67 20 74 68 65 | for .wi|ring the|
|000024c0| 20 50 4f 44 73 20 61 63 | 63 6f 72 64 69 6e 67 6c | PODs ac|cordingl|
|000024d0| 79 2e 20 54 68 65 72 65 | 20 61 72 65 20 61 20 63 |y. There| are a c|
|000024e0| 6f 75 70 6c 65 20 6f 66 | 20 53 61 6e 20 46 72 61 |ouple of| San Fra|
|000024f0| 6e 63 69 73 63 6f 20 0d | 61 72 65 61 20 63 6f 6d |ncisco .|area com|
|00002500| 70 61 6e 69 65 73 20 77 | 68 6f 20 72 65 6e 74 20 |panies w|ho rent |
|00002510| 74 68 65 73 65 20 6d 61 | 63 68 69 6e 65 73 20 28 |these ma|chines (|
|00002520| 73 65 65 20 62 65 6c 6f | 77 29 2e 0d 0d 49 66 20 |see belo|w)...If |
|00002530| 79 6f 75 20 70 72 65 66 | 65 72 20 74 6f 20 72 65 |you pref|er to re|
|00002540| 6e 74 20 6f 72 20 6c 65 | 61 73 65 20 74 68 65 20 |nt or le|ase the |
|00002550| 6d 6f 64 65 6c 73 2c 20 | 48 50 20 73 68 6f 75 6c |models, |HP shoul|
|00002560| 64 20 62 65 20 61 62 6c | 65 20 74 6f 20 70 75 74 |d be abl|e to put|
|00002570| 0d 79 6f 75 20 69 6e 20 | 63 6f 6e 74 61 63 74 20 |.you in |contact |
|00002580| 77 69 74 68 20 61 20 76 | 65 6e 64 6f 72 20 69 6e |with a v|endor in|
|00002590| 20 79 6f 75 72 20 61 72 | 65 61 20 74 68 61 74 20 | your ar|ea that |
|000025a0| 63 6f 75 6c 64 20 64 6f | 20 74 68 69 73 2e 0d 45 |could do| this..E|
|000025b0| 6e 67 69 6e 65 65 72 73 | 20 61 74 20 41 70 70 6c |ngineers| at Appl|
|000025c0| 65 20 75 73 69 6e 67 20 | 74 68 65 73 65 20 73 79 |e using |these sy|
|000025d0| 73 74 65 6d 73 20 61 72 | 65 20 76 65 72 79 20 68 |stems ar|e very h|
|000025e0| 61 70 70 79 20 77 69 74 | 68 20 74 68 65 6d 20 61 |appy wit|h them a|
|000025f0| 6e 64 0d 67 65 6e 65 72 | 61 6c 6c 79 20 70 72 65 |nd.gener|ally pre|
|00002600| 66 65 72 20 74 68 65 20 | 74 6f 75 63 68 20 73 63 |fer the |touch sc|
|00002610| 72 65 65 6e 20 63 61 70 | 61 62 69 6c 69 74 79 20 |reen cap|ability |
|00002620| 6f 66 20 74 68 65 20 31 | 36 35 30 30 20 6d 6f 64 |of the 1|6500 mod|
|00002630| 65 6c 2e 0d 28 48 65 79 | 2c 20 74 68 69 73 20 69 |el..(Hey|, this i|
|00002640| 73 6e 27 74 20 61 6e 20 | 65 6e 64 6f 72 73 65 6d |sn't an |endorsem|
|00002650| 65 6e 74 2c 20 69 74 27 | 73 20 6a 75 73 74 20 69 |ent, it'|s just i|
|00002660| 6e 66 6f 72 6d 61 74 69 | 6f 6e 21 29 0d 20 0d 41 |nformati|on!). .A|
|00002670| 6c 73 6f 2c 20 61 6e 20 | 69 6e 2d 63 69 72 63 75 |lso, an |in-circu|
|00002680| 69 74 20 65 6d 75 6c 61 | 74 6f 72 20 66 6f 72 20 |it emula|tor for |
|00002690| 74 68 65 20 49 49 65 20 | 61 6e 64 20 49 49 67 73 |the IIe |and IIgs|
|000026a0| 20 69 73 20 6d 61 6e 66 | 61 63 74 75 72 65 64 20 | is manf|actured |
|000026b0| 62 79 0d 74 68 65 20 57 | 65 73 74 65 72 6e 20 44 |by.the W|estern D|
|000026c0| 65 73 69 67 6e 20 43 65 | 6e 74 65 72 2c 20 49 6e |esign Ce|nter, In|
|000026d0| 63 2e 20 20 41 74 20 74 | 68 65 20 31 39 38 39 20 |c. At t|he 1989 |
|000026e0| 41 32 2d 43 65 6e 74 72 | 61 6c 20 41 70 70 6c 65 |A2-Centr|al Apple|
|000026f0| 20 49 49 0d 44 65 76 65 | 6c 6f 70 65 72 27 73 20 | II.Deve|loper's |
|00002700| 63 6f 6e 66 65 72 65 6e | 63 65 20 41 6e 64 72 65 |conferen|ce Andre|
|00002710| 77 20 48 61 6c 6c 20 64 | 65 6d 6f 6e 73 74 72 61 |w Hall d|emonstra|
|00002720| 74 65 64 20 74 68 69 73 | 20 49 43 45 20 73 79 73 |ted this| ICE sys|
|00002730| 74 65 6d 2c 0d 63 61 6c | 6c 65 64 20 74 68 65 20 |tem,.cal|led the |
|00002740| 54 6f 6f 6c 62 6f 78 20 | 44 65 73 69 67 6e 20 53 |Toolbox |Design S|
|00002750| 79 73 74 65 6d 2c 20 61 | 6e 64 20 73 74 61 74 65 |ystem, a|nd state|
|00002760| 64 20 74 68 61 74 20 74 | 68 65 79 20 77 6f 75 6c |d that t|hey woul|
|00002770| 64 20 62 65 20 6f 70 65 | 6e 20 0d 74 6f 20 72 65 |d be ope|n .to re|
|00002780| 6e 74 61 6c 73 20 6f 66 | 20 74 68 65 20 73 79 73 |ntals of| the sys|
|00002790| 74 65 6d 2e 20 20 59 6f | 75 20 63 61 6e 20 63 6f |tem. Yo|u can co|
|000027a0| 6e 74 61 63 74 20 54 68 | 65 20 57 65 73 74 65 72 |ntact Th|e Wester|
|000027b0| 6e 20 44 65 73 69 67 6e | 20 43 65 6e 74 65 72 0d |n Design| Center.|
|000027c0| 61 74 20 32 31 36 36 20 | 45 61 73 74 20 42 72 6f |at 2166 |East Bro|
|000027d0| 77 6e 20 52 64 2e 2c 20 | 4d 65 73 61 2c 20 41 5a |wn Rd., |Mesa, AZ|
|000027e0| 20 38 35 32 31 33 2c 20 | 20 28 36 30 32 29 20 39 | 85213, | (602) 9|
|000027f0| 36 32 2d 34 35 34 35 2e | 0d 20 0d 54 68 65 73 65 |62-4545.|. .These|
|00002800| 20 48 50 20 4c 6f 67 69 | 63 20 41 6e 61 6c 79 7a | HP Logi|c Analyz|
|00002810| 65 72 20 75 6e 69 74 73 | 20 73 68 6f 75 6c 64 20 |er units| should |
|00002820| 62 65 20 72 65 6e 74 61 | 62 6c 65 20 74 68 72 6f |be renta|ble thro|
|00002830| 75 67 68 20 74 68 65 20 | 0d 66 6f 6c 6c 6f 77 69 |ugh the |.followi|
|00002840| 6e 67 20 63 6f 6d 70 61 | 6e 69 65 73 3a 0d 20 0d |ng compa|nies:. .|
|00002850| 20 20 20 43 6f 6e 74 69 | 6e 65 6e 74 61 6c 20 52 | Conti|nental R|
|00002860| 65 73 6f 75 72 63 65 73 | 20 20 20 20 20 20 20 4d |esources| M|
|00002870| 63 47 72 61 74 68 20 52 | 65 6e 74 43 6f 72 70 0d |cGrath R|entCorp.|
|00002880| 20 20 20 31 35 37 35 20 | 4d 63 43 61 6e 64 6c 65 | 1575 |McCandle|
|00002890| 73 73 20 44 72 69 76 65 | 20 20 20 20 20 20 20 32 |ss Drive| 2|
|000028a0| 35 30 30 20 47 72 61 6e | 74 20 41 76 65 6e 75 65 |500 Gran|t Avenue|
|000028b0| 0d 20 20 20 4d 69 6c 70 | 69 74 61 73 2c 20 43 41 |. Milp|itas, CA|
|000028c0| 20 20 39 35 30 33 35 20 | 20 20 20 20 20 20 20 20 | 95035 | |
|000028d0| 53 61 6e 20 4c 6f 72 65 | 6e 7a 6f 2c 20 43 41 20 |San Lore|nzo, CA |
|000028e0| 20 39 34 35 38 30 0d 20 | 20 20 28 34 30 38 29 20 | 94580. | (408) |
|000028f0| 32 36 33 2d 31 37 37 35 | 20 20 20 20 20 20 20 20 |263-1775| |
|00002900| 20 20 20 20 20 20 28 34 | 31 35 29 20 32 37 36 2d | (4|15) 276-|
|00002910| 32 36 32 36 0d 20 0d 28 | 54 68 61 6e 6b 73 20 74 |2626. .(|Thanks t|
|00002920| 6f 20 44 61 6e 20 53 74 | 72 6e 61 64 20 6f 66 20 |o Dan St|rnad of |
|00002930| 44 54 53 20 66 6f 72 20 | 74 68 69 73 20 69 6e 66 |DTS for |this inf|
|00002940| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 48 50 20 6c |ormation| on HP l|
|00002950| 6f 67 69 63 20 0d 61 6e | 61 6c 79 7a 65 72 73 29 |ogic .an|alyzers)|
|00002960| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 01 00 00 00 01 ea | 00 00 00 ea 00 00 00 4a |........|.......J|
|00002990| 6e 50 61 74 20 45 51 55 | 20 37 34 20 20 3b 20 50 |nPat EQU| 74 ; P|
|000029a0| 65 6e 20 50 61 74 74 65 | 72 6e 0d 6f 70 6e 4d 61 |en Patte|rn.opnMa|
|000029b0| 0f 44 65 62 75 67 2e 54 | 69 70 73 2e 31 39 39 30 |.Debug.T|ips.1990|
|000029c0| 02 00 00 00 54 45 58 54 | 70 64 6f 73 01 00 ff ff |....TEXT|pdos....|
|000029d0| 00 00 54 45 58 54 70 64 | 6f 73 01 00 ff ff ff ff |..TEXTpd|os......|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 a2 d1 06 1c 00 00 | 28 e1 00 00 02 34 49 44 |........|(....4ID|
|00002a00| 20 45 51 55 20 31 32 30 | 20 20 3b 20 46 6f 6e 74 | EQU 120| ; Font|
|00002a10| 20 49 44 0d 6f 66 6f 6e | 74 46 6c 61 67 73 20 45 | ID.ofon|tFlags E|
|00002a20| 51 55 20 31 32 34 20 20 | 3b 20 46 6f 6e 74 46 6c |QU 124 |; FontFl|
|00002a30| 61 67 73 0d 6f 74 78 53 | 69 7a 65 20 45 51 55 20 |ags.otxS|ize EQU |
|00002a40| 31 32 36 20 20 3b 20 54 | 65 78 74 20 53 69 7a 65 |126 ; T|ext Size|
|00002a50| 0d 6f 74 78 46 61 63 65 | 20 45 51 55 20 31 32 38 |.otxFace| EQU 128|
|00002a60| 20 20 3b 20 54 65 78 74 | 20 46 61 63 65 0d 6f 74 | ; Text| Face.ot|
|00002a70| 78 4d 6f 64 65 20 45 51 | 55 20 31 33 30 20 20 3b |xMode EQ|U 130 ;|
|00002a80| 00 00 00 78 00 03 00 00 | 00 48 00 48 00 00 00 00 |...x....|.H.H....|
|00002a90| 03 5b 02 8a ff dc ff dd | 03 7f 02 ad 03 47 05 28 |.[......|.....G.(|
|00002aa0| 03 fc 00 02 00 00 00 48 | 00 48 00 00 00 00 03 5b |.......H|.H.....[|
|00002ab0| 02 8a 00 01 00 00 00 55 | 00 00 00 01 00 01 01 01 |.......U|........|
|00002ac0| 00 00 00 01 27 0f 00 01 | 00 01 00 00 00 00 00 00 |....'...|........|
|00002ad0| 00 00 00 00 00 00 00 02 | 00 19 01 90 00 00 00 00 |........|........|
|00002ae0| 00 40 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |.@......|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 48 |........|.......H|
|00002b00| 00 09 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 06 00 04 00 29 | 00 02 03 33 02 30 00 29 |.......)|...3.0.)|
|00002b30| 00 02 03 33 02 30 a6 77 | aa 28 00 00 00 00 00 00 |...3.0.w|.(......|
|00002b40| 00 00 00 00 00 00 01 00 | 00 00 00 1e 00 29 00 02 |........|.....)..|
|00002b50| 03 33 02 30 00 29 00 02 | 03 33 02 30 00 00 00 00 |.3.0.)..|.3.0....|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00002b70| 01 ea 00 00 00 ea 00 00 | 00 4a 00 3e 5d 4c 0b c2 |........|.J.>]L..|
|00002b80| 00 00 00 1c 00 4a 00 00 | 4d 50 53 52 00 02 00 0a |.....J..|MPSR....|
|00002b90| 03 ee ff ff 00 00 00 00 | 00 00 00 00 03 ed ff ff |........|........|
|00002ba0| 00 00 00 7c 00 00 00 00 | 03 f0 ff ff 00 00 00 c8 |...|....|........|
|00002bb0| 00 40 54 e8 00 00 00 00 | 00 00 00 00 00 00 00 00 |.@T.....|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+